package com.lg.thread.day01.isaliveOhterTest;

/**
 * @author LG93
 * @create 2017-08-11 16:52
 **/
public class Test {

    public static void main(String[] args) {
        CountOperate countOperate = new CountOperate();
        Thread thread = new Thread(countOperate);
        System.out.println("main begin thread is Alive = " + thread.isAlive());
        thread.setName("A");
        thread.start();
        System.out.println("main end thread is Alive = " + thread.isAlive());

    }
}
